package com.example.treasure_back.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.ArrayList;
import java.util.List;

@Data
public class GoodsRecordModel {
    @Id
    private String id;
    private String email;
    List<GoodsRecordItemModel> recordList;

    public GoodsRecordModel(){
        recordList = new ArrayList<>();
    }
}
